/*!
 * 名称：kf5网页聊天组件
 * UE设计：冉续(remxu@icloud.com)
 * UI设计：冉续(remxu@icloud.com)
 * 前端开发：冉续(remxu@icloud.com)
 *
 * 为kf5云客服设计和开发。
 *
 * Copyright (c) 2016 - 2017 冉续(remxu@icloud.com)
 *
 */
@font-face {
    font-family: kf5-supportBtn;
    src: url(../fonts/kf5-supportBtn.eot?o4bh80);
    src: url(../fonts/kf5-supportBtn.eot?o4bh80#iefix) format("embedded-opentype"), url(../fonts/kf5-supportBtn.ttf?o4bh80) format("truetype"), url(../fonts/kf5-supportBtn.woff?o4bh80) format("woff"), url(../fonts/kf5-supportBtn.svg?o4bh80#kf5-supportBtn) format("svg");
    font-weight: 400;
    font-style: normal
}

.kf5-loading {
    position: relative;
    display: inline-block;
    line-height: 0;
    vertical-align: middle;
    box-sizing: border-box
}

.kf5-loading:after,
.kf5-loading:before {
    content: "";
    display: inline-block;
    border: 3px solid rgba(0, 0, 0, .1);
    border-radius: 50%;
    height: 32px;
    width: 32px;
    box-sizing: border-box
}

.kf5-loading:after {
    position: absolute;
    left: 0;
    top: 0;
    border-color: #21d376 transparent transparent;
    -webkit-animation: a .6s linear infinite;
    animation: a .6s linear infinite
}

.kf5-loading-lg:after,
.kf5-loading-lg:before {
    height: 48px;
    width: 48px;
    border-width: 3px
}

.kf5-loading-sm:after,
.kf5-loading-sm:before {
    height: 18px;
    width: 18px;
    border-width: 2px
}

.kf5-loading-xs:after,
.kf5-loading-xs:before {
    height: 12px;
    width: 12px;
    border-width: 2px
}

@-webkit-keyframes a {
    0% {
        -webkit-transform: rotate(0);
        transform: rotate(0)
    }

    to {
        -webkit-transform: rotate(1turn);
        transform: rotate(1turn)
    }
}

@keyframes a {
    0% {
        -webkit-transform: rotate(0);
        transform: rotate(0)
    }

    to {
        -webkit-transform: rotate(1turn);
        transform: rotate(1turn)
    }
}

.kf5-center {
    position: absolute;
    left: 50%;
    top: 45%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%)
}

.kf5-chatSupport-style1,
.kf5-chatSupport-style2,
.kf5-chatSupport-style3,
.kf5-chatSupport-style4,
.kf5-supportBox {
    box-shadow: 0 8px 17px 0 rgba(0, 0, 0, .2), 0 6px 20px 0 rgba(0, 0, 0, .19)
}

.kf5-chatSupport-btn:hover,
.kf5-chatSupport-style2:hover,
.kf5-chatSupport-style3:hover,
.kf5-chatSupport-style4:hover {
    box-shadow: 0 12px 15px 0 rgba(0, 0, 0, .24), 0 17px 50px 0 rgba(0, 0, 0, .19)
}

.kf5-supportBox {
    position: fixed;
    height: 540px;
    width: 360px;
    background: #fff;
    overflow: hidden;
    z-index: 2;
    border-radius: 2px;
    -webkit-transform-origin: center bottom;
    transform-origin: center bottom
}

.kf5-supportBox_iframe {
    width: 100%;
    height: 100%;
    border: none
}

.kf5-support-chat {
    position: fixed !important;
    z-index: 2147483000
}

.kf5-support-chat * {
    margin: 0;
    padding: 0;
    box-sizing: content-box
}

.kf5-support-chat_close {
    position: absolute;
    text-indent: -9999px;
    background: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNyIgaGVpZ2h0PSI5IiB2aWV3Qm94PSIwIDAgMTcgOSI+PHBhdGggZmlsbD0iI0ZGRiIgZmlsbC1ydWxlPSJldmVub2RkIiBkPSJNMCAuNDVDMCAuMzM1LjA0Ni4yMi4xMzMuMTMyYy4xNzQtLjE3Ni40NTgtLjE3Ni42MzIgMEw4LjUgNy45MTJsNy43MzctNy43OGMuMTc0LS4xNzYuNDU4LS4xNzYuNjMyIDAgLjE3My4xNzUuMTczLjQ2IDAgLjYzNmwtOC4wNTUgOC4xYy0uMTc0LjE3Ni0uNDU4LjE3Ni0uNjMyIDBMLjEzLjc2OEMuMDQ0LjY4IDAgLjU2NSAwIC40NDhWLjQ1eiIvPjwvc3ZnPg==) no-repeat 50%;
    opacity: .6;
    height: 30px;
    width: 30px;
    right: 10px;
    top: 3px;
    overflow: visible
}

.kf5-support-chat_close:hover {
    opacity: 1
}

.kf5-chatSupport-btn {
    position: fixed;
    cursor: pointer;
    overflow: visible;
    z-index: 10;
    -webkit-font-smoothing: antialiased
}

.kf5-chatSupport-btn:hover {
    -webkit-transform: scale(1.05);
    transform: scale(1.05)
}

.kf5-chatSupport-btn-hide {
    -webkit-transform: scale(.5) translateY(50px);
    transform: scale(.5) translateY(50px);
    opacity: 0
}

.kf5-chatSupport_msgNumber {
    right: -8px;
    font-size: 12px;
    padding: 0 5px;
    line-height: 20px;
    text-align: center;
    min-width: 20px;
    border-radius: 100px;
    background: #ff324b;
    white-space: nowrap;
    color: #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .3);
    -webkit-writing-mode: horizontal-tb;
    -ms-writing-mode: lr-tb;
    writing-mode: horizontal-tb;
    letter-spacing: 0
}

.kf5-chatSupport_msgNumber,
.kf5-chatSupport_msgNumber:before {
    position: absolute;
    top: 0;
    box-sizing: border-box
}

.kf5-chatSupport_msgNumber:before {
    content: "";
    border-radius: 100px;
    left: 0;
    height: 100%;
    width: 100%;
    border: 1px solid #ff324b;
    -webkit-animation: 2s ease-out b infinite;
    animation: 2s ease-out b infinite
}

@-webkit-keyframes b {
    0% {
        -webkit-transform: scale(1);
        transform: scale(1);
        opacity: .8
    }

    to {
        -webkit-transform: scale(1.6);
        transform: scale(1.6);
        opacity: 0
    }
}

@keyframes b {
    0% {
        -webkit-transform: scale(1);
        transform: scale(1);
        opacity: .8
    }

    to {
        -webkit-transform: scale(1.6);
        transform: scale(1.6);
        opacity: 0
    }
}

.kf5-chatSupport-style1 {
    width: 56px;
    line-height: 54px;
    text-align: center;
    background: #5d94f3;
    border-radius: 100%;
    color: #fff;
    border: 1px solid rgba(0, 0, 0, .05);
    -webkit-transform-origin: center bottom;
    transform-origin: center bottom
}

.kf5-chatSupport-style1 span {
    display: none
}

.kf5-chatSupport-style1:before {
    font-family: kf5-supportBtn !important;
    font-size: 24px;
    display: inline-block;
    vertical-align: middle;
    text-shadow: 0 1px 2px rgba(0, 0, 0, .15)
}

.kf5-chatSupport-style2 {
    font-size: 16px;
    padding: 0 14px;
    line-height: 40px;
    text-align: center;
    background: #5d94f3;
    border-radius: 100px;
    color: #fff;
    border: 1px solid rgba(0, 0, 0, .05);
    text-shadow: 0 1px 2px rgba(0, 0, 0, .15);
    -webkit-transform-origin: center bottom;
    transform-origin: center bottom
}

.kf5-chatSupport-style2:before {
    font-family: kf5-supportBtn !important;
    font-size: 20px;
    display: inline-block;
    vertical-align: middle;
    margin-right: 5px
}

.kf5-chatSupport-style3 {
    font-size: 16px;
    padding: 0 15px 0 12px;
    line-height: 40px;
    text-align: center;
    background: #5d94f3;
    color: #fff;
    border: 1px solid rgba(0, 0, 0, .05);
    -webkit-transform-origin: center bottom;
    transform-origin: center bottom
}

.kf5-chatSupport-style3:before {
    font-family: kf5-supportBtn !important;
    font-size: 20px;
    display: inline-block;
    vertical-align: middle;
    text-shadow: 0 1px 2px rgba(0, 0, 0, .15);
    margin-right: 15px;
    padding-right: 13px;
    border-right: 1px solid rgba(0, 0, 0, .05)
}

.kf5-chatSupport-style4 {
    font-size: 16px;
    padding: 40px 0 0;
    width: 40px;
    text-align: center;
    background: #5d94f3;
    color: #fff;
    border: 1px solid rgba(0, 0, 0, .05);
    -webkit-transform-origin: right center;
    transform-origin: right center;
    word-break: break-all;
    word-wrap: break-word;
    letter-spacing: .25em
}

.kf5-chatSupport-style4 span {
    padding: 10px 0;
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -ms-writing-mode: tb-rl;
    writing-mode: tb-rl;
    -webkit-writing-mode: vertical-rl;
    writing-mode: vertical-rl
}

.kf5-chatSupport-style4 span,
.kf5-chatSupport-style4:before {
    width: 40px;
    text-align: center;
    line-height: 40px
}

.kf5-chatSupport-style4:before {
    position: absolute;
    top: 0;
    left: 0;
    font-family: kf5-supportBtn !important;
    font-size: 20px;
    letter-spacing: 0;
    display: inline-block;
    text-shadow: 0 1px 2px rgba(0, 0, 0, .15);
    height: 40px;
    border-bottom: 1px solid rgba(0, 0, 0, .05)
}

.kf5-chatSupport-icon0:before {
    content: "\e600"
}

.kf5-chatSupport-icon1:before {
    content: "\e601"
}

.kf5-chatSupport-icon2:before {
    content: "\e602"
}

.kf5-chatSupport-icon3:before {
    content: "\e603"
}

.kf5-chatSupport-icon4:before {
    content: "\e604"
}

.kf5-chatSupport-icon5:before {
    content: "\e605"
}

.kf5-chatSupport-icon6:before {
    content: "\e606"
}

.kf5-chatSupport-icon7:before {
    content: "\e607"
}

.kf5-chatSupport-icon8:before {
    content: "\e608"
}

.kf5-chatSupport-icon9:before {
    content: "\e609"
}

.kf5-chatSupport-icon10:before {
    content: "\e60a"
}

.kf5-chatSupport-icon11:before {
    content: "\e60b"
}

.kf5-chatSupport-icon12:before {
    content: "\e60c"
}

.kf5-chatSupport-icon13:before {
    content: "\e60d"
}

.kf5-chatSupport-icon14:before {
    content: "\e60e"
}

.kf5-chatSupport-icon15:before {
    content: "\e05d"
}

.kf5-chatSupport-right-bottom .kf5-chatSupport-style1,
.kf5-chatSupport-right-bottom .kf5-chatSupport-style2 {
    right: 50px;
    bottom: 50px
}

.kf5-chatSupport-right-bottom .kf5-chatSupport-style3 {
    right: 50px;
    bottom: 0
}

.kf5-chatSupport-right-bottom .kf5-chatSupport-style3 .kf5-chatSupport_msgNumber {
    left: 28px;
    right: auto;
    top: -5px
}

.kf5-chatSupport-right-bottom .kf5-chatSupport-style4 {
    right: 2px;
    top: 50%;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%)
}

.kf5-chatSupport-right-bottom .kf5-chatSupport-style4 .kf5-chatSupport_msgNumber {
    left: 0;
    right: auto;
    top: -5px
}

.kf5-chatSupport-right-bottom .kf5-supportBox {
    right: 50px;
    bottom: 10px
}

.kf5-chatSupport-left-bottom .kf5-chatSupport-style1,
.kf5-chatSupport-left-bottom .kf5-chatSupport-style2 {
    left: 50px;
    bottom: 50px
}

.kf5-chatSupport-left-bottom .kf5-chatSupport-style3 {
    left: 50px;
    bottom: 0
}

.kf5-chatSupport-left-bottom .kf5-chatSupport-style3 .kf5-chatSupport_msgNumber {
    left: 28px;
    right: auto;
    top: -5px
}

.kf5-chatSupport-left-bottom .kf5-chatSupport-style4 {
    left: -2px;
    top: 50%;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%)
}

.kf5-chatSupport-left-bottom .kf5-chatSupport-style4 .kf5-chatSupport_msgNumber {
    left: 30px;
    right: auto
}

.kf5-chatSupport-left-bottom .kf5-supportBox {
    left: 50px;
    bottom: 10px
}

.kf5-backdrop {
    position: fixed;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 3;
    background: rgba(0, 0, 0, .8);
    -webkit-backdrop-filter: blur(5px)
}

.kf5-backdrop-img {
    position: absolute;
    left: 50%;
    top: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    max-width: 88%;
    max-height: 88%
}

.kf5-backdrop-close {
    position: absolute;
    z-index: 2;
    right: 50px;
    top: 50px;
    background: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIzMiIgaGVpZ2h0PSIzMiIgdmlld0JveD0iMCAwIDMyIDMyIj48cGF0aCBmaWxsPSIjRkZGIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik0uMjkzIDMxLjcwOGMuMTk1LjE5NS40NS4yOTIuNzA3LjI5Mi4yNTYgMCAuNTEyLS4wOTguNzA4LS4yOTNMMTYgMTcuMzk3bDE0LjI5MiAxNC4zMWMuMTk1LjE5Ni40NS4yOTMuNzA4LjI5My4yNTYgMCAuNTEyLS4wOTguNzA3LS4yOTIuMzktLjM5LjM5LTEuMDIzIDAtMS40MTRMMTcuNDMgMTYgMzEuNzA3IDEuNzA3Yy4zOS0uMzkuMzktMS4wMjQgMC0xLjQxNC0uMzkzLS4zOS0xLjAyNS0uMzktMS40MTUgMEwxNiAxNC42MDMgMS43MDYuMjk0Yy0uMzktLjM5LTEuMDI0LS4zOS0xLjQxNCAwLS4zOS4zOS0uMzkgMS4wMjMgMCAxLjQxNEwxNC41NjcgMTYgLjI5MiAzMC4yOTRjLS4zOS4zOS0uMzkgMS4wMjQgMCAxLjQxNHoiLz48L3N2Zz4=) no-repeat 50%;
    height: 64px;
    width: 64px;
    border-radius: 100%;
    text-indent: -99999px;
    -webkit-transition: background-color .4s;
    transition: background-color .4s
}

.kf5-backdrop-close:hover {
    background-color: #ff595f
}

.kf5-support-message {
    position: fixed;
    z-index: 4;
    padding-left: 83px;
    padding-right: 93px;
    width: 260px;
    background: #f4f4f4;
    border: 1px solid rgba(0, 0, 0, .08);
    box-shadow: 0 5px 40px rgba(0, 0, 0, .12), 0 2px 15px rgba(0, 0, 0, .08);
    height: 83px;
    background-clip: padding-box;
    box-sizing: content-box
}

.kf5-support-message * {
    box-sizing: content-box;
    margin: 0;
    padding: 0
}

.kf5-support-message:after {
    content: ".";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden
}

.kf5-support-message-left {
    position: absolute;
    left: 0;
    top: 0;
    height: 83px;
    width: 83px;
    background-color: #00aef0;
    text-align: center;
    line-height: 1
}

.kf5-support-message-left img {
    width: 50px;
    position: absolute;
    left: 50%;
    top: 50%;
    margin-left: -25px;
    margin-top: -25px
}

.kf5-support-message-content {
    padding: 21px 20px;
    color: #333;
    line-height: 1
}

.kf5-support-message-name {
    font-size: 16px;
    margin-bottom: 10px;
    font-weight: 600
}

.kf5-support-message-info,
.kf5-support-message-name {
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden
}

.kf5-support-message-info {
    font-size: 15px
}

.kf5-support-message-right {
    position: absolute;
    right: 0;
    top: 0;
    height: 83px;
    width: 93px;
    border-left: 1px solid #d6d6d6
}

.kf5-support-message-right a {
    display: block;
    height: 41px;
    line-height: 41px;
    text-align: center;
    font-size: 16px;
    color: #333;
    text-decoration: none
}

.kf5-support-message-right a:hover {
    color: #000;
    background: #f0f0f0
}

.kf5-support-message-accept {
    border-bottom: 1px solid #d6d6d6;
    font-weight: 600
}

.kf5-support-message a {
    cursor: pointer
}

.kf5-mobile .kf5-supportBox {
    width: 100%;
    height: 100%;
    bottom: 0;
    right: 0;
    max-width: 360px;
    max-height: 540px;
}

.kf5-mobile .kf5-support-chat_close {
    background-color: black;
}

/* ---------------------------------- start: kf5-sbox-popup ----------------------------- */
.kf5-sbox-popup-pc-wrap {
    margin: 0 auto;
    position: fixed;
    left: 0;
    right: 0;
    top: 50%;
    z-index: 99999;
    width: 430px;
    margin-top: -150px;
    line-height: normal;
}

.kf5-sbox-popup-content {
    border-style: solid;
    border-width: 1px;
    border-color: rgb(229, 229, 229);
    border-radius: 10px;
    background-color: #fff;
    width: 428px;
    box-shadow: 0 1px 18px #999;
    overflow: hidden;
}

.kf5-sbox-popup-title {
    width: 100%;
    font-size: 24px;
    color: #333;
    line-height: 44px;
    padding: 0;
    margin: 0;
}

.kf5-sbox-popup-close {
    display: block;
    width: 26px;
    height: 26px;
    background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAABmJLR0QAAAAAAAD5Q7t/AAAACXBIWXMAAAsSAAALEgHS3X78AAABgElEQVQ4y7XUT05UQRDH8c97XsCoaNygQViwqI3Kv5kVJ/AcXkUPQDyGJ2Bh+Bt10zEkgCJsjBKNFzC6mH7YNm/GMcHavPSvqr9d1f2qmpTSczzFGzyJiO/+wVJK1/ESj7DRpJR+Fv5jrETEtylhN7CH+U5rcVDEzGM3pTQzBex2DcNBi3WcFeICtvPpkzLbqmBnWG9ywAz2cb8I+IDliPhawW7m2LlC/phjz1uIiHMMcFIEzWEvl1aXWcJOMMgMbadGxCesVeU/yKV1tpW1zk6xlveCpud+bvVk8TZ/H/7tSi4BM/QOtiuoCjaIiM+1oxmzQUrpGnbxuHK9xmpE/Ojb17pi6wXmkg97spO1wxxzyf7vo+RT9zFbyMcRsZD9R/7sjlOj3r94nLaA3cVOBXuPYbEeZq2ze9jJe39neJWt14wr04Qx1je2jDpsucVmBTsy+mnHzsTsG+aDO5vFZovFKrPVrtEnWUR8wUoFXWzxIi9eYWnaaV1kuoR3WXr2C5pxooAJejdYAAAAAElFTkSuQmCC);
    background-size: 13px 13px;
    background-repeat: no-repeat;
    background-position: center;
    position: absolute;
    top: 5px;
    right: 5px;
    z-index: 22;
    cursor: pointer;
}

.kf5-sbox-popup-main {
    margin: 0 auto;
    width: 60%;
    padding-left: 100px;
    padding-top: 30px;
    position: relative;
    text-align: left;
}

.kf5-sbox-popup-text {
    width: 100%;
    color: #929292;
    font-size: 18px;
    line-height: 24px;
    min-height: 50px;
    text-align: left;
    margin: 0;
    padding: 0;
}

.kf5-sbox-popup-btn {
    color: #fff;
    display: block;
    width: 160px;
    height: 40px;
    line-height: 40px;
    margin: 15px auto;
    background-color: #00c9f5;
    text-align: center;
    border-radius: 4px;
    font-size: 20px;
    text-decoration: none;
    cursor: pointer;
}

.kf5-sbox-popup-img {
    overflow: hidden;
    display: block;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    position: absolute;
    left: 0;
    top: 30px;
}

.kf5-sbox-popup-img > img {
    display: block;
    width: 100%;
    height: 100%;
}

.kf5-sbox-popup-footer {
    width: 100%;
    height: 60px;
    line-height: 60px;
    border-top: none;
}


/* mobile */

.kf5-sbox-popup-mobile-wrap {
    width: 80%;
    background: #fff;
    border: 1px #e6e6e6 solid;
    border-radius: 4px;
    margin: 0 auto;
    position: fixed;
    left: 0;
    right: 0;
    top: 45%;
    margin-top: -90px;
    z-index: 99999;
}

.kf5-sbox-popup-mobile-wrap .kf5-sbox-popup-footer {
    width: 100%;
    height: 38px;
    line-height: 38px;
    font-size: 0;
    border-top: 1px #e6e6e6 solid;
    position: static;
}

.kf5-sbox-popup-mobile-wrap .kf5-sbox-popup-title {
    height: 40px;
    line-height: 40px;
    color: #333;
    font-size: 14px;
    border-bottom: 1px #e6e6e6 solid;
    text-align: left;
    margin: 0;
    text-indent: 10px;
}

.kf5-sbox-popup-mobile-wrap .kf5-sbox-popup-main {
    width: auto;
    padding-bottom: 0;
    padding: 0;
}

.kf5-sbox-popup-mobile-wrap .kf5-sbox-popup-btn,
.kf5-sbox-popup-mobile-wrap .kf5-sbox-popup-close {
    float: none;
    display: inline-block;
    position: static;
    width: 50%;
    height: 38px;
    line-height: 38px;
    text-align: center;
    color: #333;
    font-size: 14px;
    background-color: unset;
    margin: 0;
    padding: 0;
    background: none;
}

.kf5-sbox-popup-mobile-wrap .kf5-sbox-popup-btn {
    box-sizing: border-box;
    border-left: 1px #e6e6e6 solid;
}

.kf5-sbox-popup-mobile-wrap .kf5-sbox-popup-content {
    width: 100%;
    padding-bottom: 0px;
    box-shadow: none;
    border: none;
    min-height: 0;
}

.kf5-sbox-popup-mobile-wrap .kf5-sbox-popup-text {
    box-sizing: border-box;
    width: 100%;
    min-height: 0;
    color: #333;
    font-size: 14px;
    line-height: 30px;
    padding: 10px;
}
/* ---------------------------------- end: kf5-sbox-popup ----------------------------- */
